package com.caiyouxi.sdk.model;


import com.caiyouxi.common.bean.QueryParams;

import java.io.Serializable;
import java.util.Date;

/**
 * 渠道预存款财务账户流水类
 *
 * Created by Administrator on 2017/10/18.
 */
public class ChannelAdvanceRecord extends QueryParams implements Serializable {

    private Integer id;                //流水编号
    private Integer source;            //扣款的财务账户
    private Integer amount;            //预存款扣款金额。精确到分
    private Integer target;            //收款的财务账户
    private Integer order_amount;      //订单金额。精确到分
    private Integer balance;            //扣完之后该账户的余额。精确到分

    private String action;              //操作类型：TRANSFER;CASHIN;CONSUME：
    private String status;              //状态:UNCONFIRMED；CONFIRMED；CANCLED
    private String remark;              //备注信息
    private String relate_object_type;  //关联业务对象类型:USER。ORDER
    private String relate_object_id;    //关联对象编号
    private Date create_time;           //记录创建时间
    private Date update_time;           //该记录状态更新时间


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getTarget() {
        return target;
    }

    public void setTarget(Integer target) {
        this.target = target;
    }

    public Integer getOrder_amount() {
        return order_amount;
    }

    public void setOrder_amount(Integer order_amount) {
        this.order_amount = order_amount;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRelate_object_type() {
        return relate_object_type;
    }

    public void setRelate_object_type(String relate_object_type) {
        this.relate_object_type = relate_object_type;
    }

    public String getRelate_object_id() {
        return relate_object_id;
    }

    public void setRelate_object_id(String relate_object_id) {
        this.relate_object_id = relate_object_id;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }
}
